import React from "react";
import { AddCircleOutline } from "antd-mobile-icons";
import { goTo } from "@/common/utils";

class TenantAdd extends React.Component {
  constructor(props){
    super(props);
  }

  /**
   * 添加租户
   */
  addTenant = () => {
    goTo('/tenant/edit');
  }

  render() {
    return (
      <div className="baby-love-admin-tenant-add" onClick={this.addTenant}>
        <AddCircleOutline />
      </div>
    );
  }
}

export default TenantAdd;
